<?php if (!defined('THINK_PATH')) exit();?><!DOCTYPE html>
<html lang="en">
<head>
	<meta charset="UTF-8">
	<meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1">
	<title>网站设置</title>
	<link href="/Public/Admin/bootstrap/css/bootstrap.min.css" rel="stylesheet">
    <link rel="stylesheet" type="text/css" href="/Public/Admin/css/rightmain.css">

</head>
<body>
       <div class="iframecontent">
            <div class="pos clearfix"><button class="btn btn-success">商品管理</button><span class="right"><button class="btn btn-info">商品修改</button></span></div>
            <div class="list">
                <div class="itab" id="itab">
                    <ul class="clearfix">
                    </ul>
                </div>
                <div class="itabcontent" id="itabcontent">
                    <!--站点配置开始-->
										<form method='post' action='' enctype="multipart/form-data">
                    <div class="itabcontentlist zdpz">
                        <dl class="clearfix">
                            <dt>商品名称：</dt>
                            <dd>
                                <input type="text" name="name" />
                            </dd>
                        </dl>
                        <dl class="clearfix">
                            <dt>商品价格：</dt>
                            <dd>
                                <input type="text" name="price" />
                            </dd>
                        </dl>
                        <dl class="clearfix">
                            <dt>商品会员价：</dt>
                            <dd>
                                <input type="text" name="vip_price" />
                            </dd>
                        </dl>
                        <dl class="clearfix">
                            <dt>商品数量：</dt>
                            <dd>
                                <input type="text" name="num" />
                            </dd>
                        </dl>
												<dl class="clearfix">
														<dt>商品关键字：</dt>
														<dd>
																<input type="text" name="key" />
														</dd>
												</dl>
                        <dl class="clearfix">
                            <dt>商品重量：</dt>
                            <dd>
                                <input type="text" name="weight" />
                            </dd>
                        </dl>
												<dl class="clearfix">
														<dt>商品是否上架：</dt>
														<dd>
																<input type="radio" name="isdel"  value='上架' checked='checked'/>上架
																<input type="radio" name="isdel"  value='下架'/>下架
														</dd>
												</dl>
												<dl class="clearfix">
														<dt>商品图片：</dt>
														<dd>
																<input type="file" name='pic' />
														</dd>
												</dl>
                        <dl class="clearfix">
                            <dt>商品分类：</dt>
                            <dd>
                                <select name="cate">
                                    <option value="1">blog</option>
                                    <option value="2" selected="selected">default</option>
                                </select>
                            </dd>
                        </dl>
												<dl class="clearfix">
														<dt>商品描述：</dt>
														<dd>
																<input type="text" name="introduce" />
														</dd>
												</dl>
                        <dl class="clearfix">
                            <dt class="surebtn">保存按钮：</dt>
                            <dd>
                                <a href="javascript:;" class="btn btn-info" />保存</a>
                            </dd>
                        </dl>
                    </div>
									</form>
                </div>
            </div>
        </div>
      <script src="/Public/Admin/public/js/jquery-3.1.1.js"></script>
      <!-- Include all compiled plugins (below), or include individual files as needed -->
      <script src="/Public/Admin/bootstrap/js/bootstrap.min.js"></script>
      <script type="text/javascript">
      //alert($)
      $(function(){
      	 $("#itab ul li").click(function(){
                    var _id = $(this).index();
                    $(this).addClass('current-item').siblings().removeClass('current-item');
                    $('#itabcontent').children('.itabcontentlist').eq(_id).fadeIn('fast').siblings('.itabcontentlist').css('display','none');
                });
				$('.btn-info').click(function(){
					$('form').submit();
				});
      })
      </script>
  </body>
</html>